import request from "@/utils/request"

export function getListByPage(params: any) {
  return request({
    params,
    url: "articleManage/comment/list",
    method: "get"
  })
}

export function getInfoById(params: any) {
  return request({
    params,
    url: "articleManage/comment/getById",
    method: "get"
  })
}

export function editArticleComment(data: any) {
  return request({
    data,
    url: "articleManage/comment/edit",
    method: "post"
  })
}

export function articleCommentDelete(params: any) {
  return request({
    params,
    url: "articleManage/comment/delete",
    method: "delete"
  })
}
